﻿<html>
<head>
	<script src="/dlr/dlr.js" type="text/javascript"></script>
</head>
<body>

<input id="say_hello" type="button" value="Say, Hello!" />

<script type="text/ruby">
  def onclick(s,e)
    window.alert "Hello, World!"
  end
  document.say_hello.attach_event(
    'onclick', 
    System::EventHandler[System::Windows::Browser::HtmlEventArgs].new(method(:onclick))
  )
</script>

</body>
</html>

